package com.gp.learn.ssm.base.core.mybaits.model;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * 分页参数
 */
@Data
@ApiModel(value = "PageModel",description = "分页参数")
public class PageModel {

    @ApiModelProperty(value = "表单参数")
    private String params;

    @ApiModelProperty(value = "handlerName")
    private String handlerName;

    @ApiModelProperty(value = "当前页", required = true, example = "1")
    private int page;

    @ApiModelProperty(value = "每页条数")
    private int limit;

    @ApiModelProperty(value = "排序方式")
    private String sort;

    @ApiModelProperty(value = "排序字段")
    private String order;
}
